package com.gxar.quick.ar.server.base.model.works.vo.response;

import com.alibaba.fastjson2.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.gxar.quick.ar.server.base.model.works.vo.BaseWorksVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author linsy
 * @version 1.0
 * @created 2023/11/3 16:04
 */
@Data
@ApiModel("作品详情响应模型")
@EqualsAndHashCode(callSuper = true)
public class WorksInfoResponse extends BaseWorksVO {

    @ApiModelProperty("作品内容")
    @JSONField(name = "content")
    @JsonProperty("content")
    private String content;

    @ApiModelProperty("用户ID")
    @JSONField(name = "user_id")
    @JsonProperty("user_id")
    private String userId;

    @ApiModelProperty("坑位id")
    @JSONField(name = "slot_id")
    @JsonProperty("slot_id")
    private String slotId;

    @ApiModelProperty("是否删除。0-否，1-是")
    @JSONField(name = "deleted")
    @JsonProperty("deleted")
    private Integer deleted;

    @ApiModelProperty("状态。1-已上线，-1-已下线")
    @JSONField(name = "status")
    @JsonProperty("status")
    private Integer status;

    @ApiModelProperty("是否我的收藏。0-否，1-是")
    @JSONField(name = "favorites")
    @JsonProperty("favorites")
    private Integer favorites;

    @ApiModelProperty("该作品是否水印。0-否，1-是")
    @JSONField(name = "watermark")
    @JsonProperty("watermark")
    private Integer watermark;

}
